<html>
  <head>
    <title>Smart Commerce</title>
    <link href="../css/bootstrap.min.css" rel="stylesheet">
	<style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
    </style>
    <link href="../css/bootstrap-responsive.min.css" rel="stylesheet">
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
			</a>
			
			<a class="brand" href="tampilan_home.php">Beranda</a>
			<a class="brand">Tentang Kami</a>
			<a class="brand">Kontak</a>
			
				<div class="nav-collapse collapse">
				<form class="navbar-form pull-right" method="post">
				</form>
							
			    </div>
			</div>
		</div>
    </div>
	
		<div class="container">
			<div class="hero-unit"style="background-image:url('../images/header.jpg');" >
				<h1>Smart Commerce</h1>
				<blockquote class="pull-right"> 
					<p>Website khusus Technopreneur Surabaya</p>
				</blockquote>
			</div>
	 <ul class="breadcrumb">
	 <li><a href="tampilan_home.php">Home</a> <span class="divider">/</span></li>
	 <li class="active">Login</li>
	 </ul>
	
<?php
	if (!empty($_GET['message']) && $_GET['message'] == 'success') {
    echo '<div class="alert alert-success">Akun berhasil dibuat! Silahkan melakukan login untuk masuk<button class="close" data-dismiss="alert">&times;</button></div>';
	}
	?>
	
<?php
	if (!empty($_GET['message']) && $_GET['message'] == 'warning') {
    echo '<div class="alert alert-warning">Password atau username anda tidak cocok!<button class="close" data-dismiss="alert">&times;</button></div>';
	}
	?>
	
	<form class="form-inline" action="pencarian.php" method="post">
	  <div class="input-append">
		<input class="input-xxlarge" style="height:30px; width:300px; margin-left:815px" name="pencarian" id="pencarian" type="text" placeholder="Kata Pencarian...">
		<button class="btn" type="submit" name="submit" id="submit" value="search">Cari</button>
	  </div>
	  </form>
	  <br>
	
	<form class="form-horizontal" method="POST" action="../proses_login.php">
  <div class="control-group">
    <label class="control-label" for="inputUser">Username</label>
    <div class="controls">
      <input style="width:270px; height:30px" type="text" id="inputUser" name="username" placeholder="Username" required="required">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputPassword">Password</label>
    <div class="controls">
      <input style="width:270px; height:30px" type="password" id="inputPassword" name="password" placeholder="Password" required="required">
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn">Login</button>
	  <a href="login.php" class="btn">Batal</a>
    </div>
</div>
<p style='margin-left:100px'>Belum memiliki akun? Klik <a href="daftar.php">Daftar</p>
	</form>
	
  </body>
</html>